-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add StringBeforeLast function #1507
Merged
norberttech
merged 1 commit into
flow-php:1.x
from
f-lapinski:integration/symfony-string-before-last
Mar 2, 2025
Merged
Add StringBeforeLast function #1507
norberttech
merged 1 commit into
flow-php:1.x
from
f-lapinski:integration/symfony-string-before-last
Mar 2, 2025
+127
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix variable name in two tests
Flow PHP - BenchmarksResults of the benchmarks from this PR are compared with the results from 1.x branch. Extractors+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
| CSVExtractorBench | bench_extract_10k | 1 | 3 | 4.849mb +0.02% | 566.370ms +2.63% | ±1.73% +283.78% |
| JsonExtractorBench | bench_extract_10k | 1 | 3 | 4.922mb +0.01% | 1.061s -0.83% | ±1.25% +78.93% |
| ParquetExtractorBench | bench_extract_10k | 1 | 3 | 86.375mb +0.00% | 920.961ms +2.84% | ±0.84% +665.29% |
| TextExtractorBench | bench_extract_10k | 1 | 3 | 4.579mb +0.02% | 36.448ms +3.52% | ±0.72% -14.95% |
| XmlExtractorBench | bench_extract_10k | 1 | 3 | 4.554mb +0.02% | 606.258ms +0.49% | ±1.07% +268.55% |
+-----------------------+-------------------+------+-----+-----------------+------------------+-----------------+
Transformers+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
| RenameEntryTransformerBench | bench_transform_10k_rows | 1 | 3 | 127.376mb +0.00% | 72.282ms +1.12% | ±2.91% +267.30% |
+-----------------------------+--------------------------+------+-----+------------------+-----------------+-----------------+
Loaders+--------------------+----------------+------+-----+------------------+------------------+----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
| CSVLoaderBench | bench_load_10k | 1 | 3 | 64.048mb +0.00% | 103.419ms +1.36% | ±0.52% -62.25% |
| JsonLoaderBench | bench_load_10k | 1 | 3 | 84.395mb +0.00% | 98.244ms +1.98% | ±0.21% -82.58% |
| ParquetLoaderBench | bench_load_10k | 1 | 3 | 161.246mb +0.00% | 21.023s -4.63% | ±0.60% +57.27% |
| TextLoaderBench | bench_load_10k | 1 | 3 | 18.111mb +0.00% | 31.363ms +1.07% | ±0.50% -68.40% |
+--------------------+----------------+------+-----+------------------+------------------+----------------+
Building Blocks+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| benchmark | subject | revs | its | mem_peak | mode | rstdev |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
| TypeDetectorBench | bench_type_detector | 1 | 3 | 43.895mb +0.00% | 359.997ms -0.24% | ±0.68% -70.53% |
| TypeDetectorBench | bench_type_detector | 1 | 3 | 11.705mb +0.01% | 74.632ms +0.25% | ±0.66% -41.63% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 105.995mb +0.00% | 452.787ms -0.87% | ±0.85% +304.08% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 55.185mb +0.00% | 230.486ms +1.01% | ±1.24% +538.22% |
| EntryFactoryBench | bench_entry_factory | 1 | 3 | 14.707mb +0.01% | 51.533ms +2.11% | ±1.72% +738.31% |
| RowsBench | bench_chunk_10_on_10k | 2 | 3 | 97.038mb +0.00% | 4.000ms +20.29% | ±1.30% -52.57% |
| RowsBench | bench_diff_left_1k_on_10k | 2 | 3 | 114.327mb +0.00% | 183.814ms +0.08% | ±0.93% -4.92% |
| RowsBench | bench_diff_right_1k_on_10k | 2 | 3 | 97.047mb +0.00% | 18.902ms -0.03% | ±0.48% -43.37% |
| RowsBench | bench_drop_1k_on_10k | 2 | 3 | 97.913mb +0.00% | 2.045ms +39.95% | ±1.22% -26.02% |
| RowsBench | bench_drop_right_1k_on_10k | 2 | 3 | 97.913mb +0.00% | 2.021ms +40.80% | ±1.65% +302.73% |
| RowsBench | bench_entries_on_10k | 2 | 3 | 96.074mb +0.00% | 5.683ms +30.98% | ±1.90% +512.80% |
| RowsBench | bench_filter_on_10k | 2 | 3 | 96.603mb +0.00% | 17.227ms +5.40% | ±0.52% -36.51% |
| RowsBench | bench_find_on_10k | 2 | 3 | 96.603mb +0.00% | 17.278ms +5.92% | ±0.57% -48.92% |
| RowsBench | bench_find_one_on_10k | 10 | 3 | 95.294mb +0.00% | 2.006μs +5.92% | ±2.32% -8.20% |
| RowsBench | bench_first_on_10k | 10 | 3 | 95.294mb +0.00% | 0.400μs 0.00% | ±0.00% 0.00% |
| RowsBench | bench_flat_map_on_1k | 2 | 3 | 104.512mb +0.00% | 16.916ms +17.63% | ±2.45% +251.49% |
| RowsBench | bench_map_on_10k | 2 | 3 | 134.579mb +0.00% | 74.942ms +7.55% | ±0.16% -43.44% |
| RowsBench | bench_merge_1k_on_10k | 2 | 3 | 97.122mb +0.00% | 1.996ms +54.89% | ±2.55% +8.43% |
| RowsBench | bench_partition_by_on_10k | 2 | 3 | 100.427mb +0.00% | 65.912ms +3.34% | ±0.19% -82.21% |
| RowsBench | bench_remove_on_10k | 2 | 3 | 98.175mb +0.00% | 4.305ms +16.34% | ±2.40% +972.10% |
| RowsBench | bench_sort_asc_on_1k | 2 | 3 | 95.589mb +0.00% | 45.045ms +7.61% | ±1.28% -47.95% |
| RowsBench | bench_sort_by_on_1k | 2 | 3 | 95.589mb +0.00% | 45.284ms +7.55% | ±0.31% -16.36% |
| RowsBench | bench_sort_desc_on_1k | 2 | 3 | 95.589mb +0.00% | 45.602ms +5.05% | ±1.14% -36.94% |
| RowsBench | bench_sort_entries_on_1k | 2 | 3 | 97.734mb +0.00% | 8.699ms +5.70% | ±0.59% -34.92% |
| RowsBench | bench_sort_on_1k | 2 | 3 | 95.484mb +0.00% | 31.638ms +8.36% | ±0.31% -18.97% |
| RowsBench | bench_take_1k_on_10k | 10 | 3 | 95.294mb +0.00% | 14.782μs +11.71% | ±0.96% -68.71% |
| RowsBench | bench_take_right_1k_on_10k | 10 | 3 | 95.294mb +0.00% | 16.942μs +12.36% | ±1.93% +133.69% |
| RowsBench | bench_unique_on_1k | 2 | 3 | 114.328mb +0.00% | 187.852ms -0.95% | ±0.60% -26.18% |
+-------------------+----------------------------+------+-----+------------------+------------------+-----------------+
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 1.x #1507 +/- ##
==========================================
+ Coverage 83.04% 83.05% +0.01%
==========================================
Files 684 685 +1
Lines 18302 18315 +13
==========================================
+ Hits 15198 15212 +14
+ Misses 3104 3103 -1
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix variable name in two tests
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security
Description
Returns the contents found before/after the last occurrence of the given string.